package org.example.link_list;

public class test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addAtHead(4);
        myLinkedList.get(1);
        myLinkedList.addAtHead(1);
        myLinkedList.addAtHead(5);
        myLinkedList.deleteAtIndex(3);
        myLinkedList.addAtHead(7);
        myLinkedList.get(3);
        myLinkedList.get(3);
        myLinkedList.get(3);
        myLinkedList.addAtHead(1);
        myLinkedList.deleteAtIndex(4);
        myLinkedList.show();
//        int i = myLinkedList.get(1);
//        System.out.println(i);
//        myLinkedList.deleteAtIndex(1);
//        int i2 = myLinkedList.get(1);
//        System.out.println(i2);
//        myLinkedList.show();

//        myLinkedList.addAtIndex(4,100);
//        myLinkedList.deleteAtIndex(1);
//        myLinkedList.show();
    }
}
